[VERSN2]
watermark "Mod made by YochiThMaster333"

add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES SECONDARY_LOGO_TAVRIA SECONDARY_LOGO_TAVRIA "TavriaParts\SECONDARY_LOGO_TAVRIA.dds"
add_or_replace_texture FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES CARSELECT_MANUFACTURER_ZAZ CARSELECT_MANUFACTURER_ZAZ "TavriaParts\CARSELECT_MANUFACTURER_ZAZ.dds"
bind_textures synchronize FRONTEND\FRONTB.LZC TPKBlocks FRONTENDTEXTURES "TavriaParts\TuningIcons"

move_file override relative absolute TavriaParts\TAVRIA.ini scripts\UnlimiterData\TAVRIA.ini

// Strings
append "Strings\English.end"
append "Strings\French.end"
append "Strings\German.end"
append "Strings\Italian.end"
append "Strings\Russian.end"
append "Strings\Spanish.end"
append "Strings\Danish.end"
append "Strings\Dutch.end"
append "Strings\Finnish.end"
append "Strings\Swedish.end"
append "Strings\Polish.end"
append "Strings\Chinese.end"
append "Strings\Korean.end"

// Those files are actually unloaded to save RAM, so don't worry ^^
delete FRONTEND\FRONTB.LZC

if collection_exists GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA
do
remove_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA
else
end

if collection_exists GLOBAL\GLOBALB.LZC Collisions TAVRIA
do
remove_collection GLOBAL\GLOBALB.LZC Collisions TAVRIA
else
end

if collection_exists GLOBAL\GLOBALB.LZC SlotOverrides TAVRIA_PART_SPOILER
do
remove_collection GLOBAL\GLOBALB.LZC SlotOverrides TAVRIA_PART_SPOILER
else
end

copy_collection GLOBAL\GLOBALB.LZC CarTypeInfos CLIO TAVRIA
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_WHITE
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA ManufacturerName ZAZ
copy_collection GLOBAL\GLOBALB.LZC Collisions CLIO TAVRIA
import override GLOBAL\GLOBALB.LZC DBModelParts TavriaParts\TAVRIA.bin
copy_collection GLOBAL\GLOBALB.LZC SlotOverrides TT_PART_SPOILER TAVRIA_PART_SPOILER

if directory_exists absolute CARS\TAVRIA
do
else
create_folder absolute CARS\TAVRIA
end

move_file override relative absolute Main\GEOMETRY.BIN CARS\TAVRIA\GEOMETRY.BIN
move_file override relative absolute Main\TEXTURES.BIN CARS\TAVRIA\TEXTURES.BIN

combobox "Standard Resolution (512x)" "High Resolution (1024x)" "Choose vinyls resolution."

"Standard Resolution (512x)"
move_file override relative absolute Vinyls\512.BIN CARS\TAVRIA\VINYLS.BIN

"High Resolution (1024x)"
move_file override relative absolute Vinyls\1024.BIN CARS\TAVRIA\VINYLS.BIN

end

combobox "White" "Silver" "Beige" "Red" "Yellow" "Light Green" "Green Metallic" "Light Blue" "Blue" "Purple" "Choose your stock color."

"White"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_WHITE

"Silver"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_SILVER

"Beige"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_BEIGE

"Red"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_RED

"Yellow"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_YELLOW

"Light Green"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_GREEN

"Green Metallic"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_GREEN2

"Light Blue"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_BLUE

"Blue"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_BLUE2

"Purple"
update_collection GLOBAL\GLOBALB.LZC CarTypeInfos TAVRIA DefaultBasePaint TAVRIA_PAINT_PURPLE

end
